package com.guess.lolguessing.service;

import com.guess.lolguessing.domain.dto.CommentDTO;
import com.guess.lolguessing.domain.po.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guess.lolguessing.domain.queryPage.CommentPage;
import com.guess.lolguessing.domain.vo.CommentVO;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-10-18
 */
public interface ICommentService extends IService<Comment> {

    void submitComment(CommentDTO dto);
    public CommentPage getComments(@RequestParam("matchId") Integer matchId, @RequestParam("playerId") Integer playerId, @RequestParam("page") Integer page);

    int findNotZeroNumber(Integer matchId, Integer playerId);
}
